package com.shenmazong.order.service;

import com.shenmazong.order.pojo.TbProduct;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shenmazong.utils.ResultResponse;
import com.shenmazong.vo.IdVo;
import com.shenmazong.vo.PageVo;
import com.shenmazong.vo.SearchInfoVo;

/**
 *
 */
public interface TbProductService extends IService<TbProduct> {

    ResultResponse add(TbProduct tbProduct);

    ResultResponse listByPage(PageVo pageVo);

    ResultResponse get(IdVo idVo);

    ResultResponse set(TbProduct tbProduct);

    ResultResponse searchByWord(SearchInfoVo searchInfoVo);

    ResultResponse searchByRange(SearchInfoVo searchInfoVo);
}
